
html {
  scroll-behavior: smooth;
}
.box {
  width: 200px;
  height: 200px;
  background-color: beige;
  font-size: 32px;
  margin: 20px;
}
.go-top {
  position: fixed;
  display: inline-block;
  font-size: 12px;
  bottom: 50px;
  left: 30px;
  color: #000;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background-color: #ccc;
  text-align: center;
  line-height: 60px;
}